<?php if (isset($data['breadcrumb']) && sizeof($data['breadcrumb'])) { ?>
    <ul class="breadcrumb">
        <?php foreach ($data['breadcrumb'] as $key => $value) { ?>
            <li <?php if (isset($value['class'])) echo "class=" . $value['class']; ?>>
                <a href="<?php echo $value['link']; ?>"><?php echo $value['name']; ?></a>
                <?php if (!isset($value['class'])) { ?><span class="divider">/</span><?php } ?>
            </li>
        <?php } ?>
    </ul>
    <?php
}?>